package com.jungle.system.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Comment;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@EqualsAndHashCode
@Entity
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "sys_open_id")
@org.hibernate.annotations.Table(appliesTo = "sys_open_id", comment = "微信openId对应表")
public class SysOpenId {

    @Id
    @Comment("openId")
    private String id;

    @Comment("用户")
    private Long userId;
}
